﻿/*
#------------------------------------------------------------------------------
#-- Program Name:	[dbo].[DeleteDirectory]
#-- Purpose:		Calls a CLR function to delete a directory
#--	Last Update:	01/06/2012
#--					For a complete history - please review comments in Version
#--					Control.
#------------------------------------------------------------------------------
*/
CREATE PROCEDURE [dbo].[DeleteDirectory]
(
	@directoryPath			nvarchar(4000),
	@recursive				bit
)
WITH EXECUTE AS CALLER
AS
EXTERNAL NAME [centraldba_clr].[StoredProcedures].[DeleteDirectory]
